package com.tangfuzhong.dao;

import java.util.UUID;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class UserDao {
	
	@Autowired
	private JdbcTemplate jdbcTemplate;
	public void insert(){
		String sql = "INSERT INTO `log4j`(user_id,phone) VALUES(?,?)";
		jdbcTemplate.update(sql, 100,"13100008888");
		
	}

}
